System and method for adaptive depth map reconstruction

ABSTRACT

What is disclosed is a system and method for adaptively reconstructing a depth map of a scene. In one embodiment, upon receiving a mask identifying a region of interest (ROI), a processor changes either a spatial attribute of a pattern of source light projected on the scene by a light modulator which projects an undistorted pattern of light with known spatio-temporal attributes on the scene, or changes an operative resolution of a depth map reconstruction module. A sensing device detects the reflected pattern of light. A depth map of the scene is generated by the depth map reconstruction module by establishing correspondences between spatial attributes in the detected pattern and spatial attributes of the projected undistorted pattern and triangulating the correspondences to characterize differences therebetween. The depth map is such that a spatial resolution in the ROI is higher relative to a spatial resolution of locations not within the ROI.

TECHNICAL FIELD

The present invention is directed to systems and methods for adaptively reconstructing a depth map of a scene.

BACKGROUND

Active/passive systems for range or depth sensing, which are based on a calibrated projector-camera or camera-camera pair, are one of the most reliable and cost-effective ways to generate a depth map of a scene. One limitation of sensing systems is the computational intensity of the depth map estimation process, which limits the acquisition speed of the system. Other depth sensing systems, such as Time-of-Flight systems, have similar limitations. There is a trade-off between spatial resolution and computational complexity; specifically, the larger the spatial resolution of the depth map, the more computationally expensive the depth map generation process becomes. Consequently, when improvement of depth data throughput is desired, it is typically performed at the expense of the detail in the depth map. Additionally, in most depth-sensing applications, even though a particular scene is monitored for depth information, only an area or subject within the scene is usually of interest. By performing adaptive depth map reconstruction with variable spatial resolution (higher on regions of interest, lower elsewhere), data throughput can be controlled.

What is needed in this art is a system and method which can adaptively reconstruct a depth map of a scene.

BRIEF SUMMARY

What is disclosed is a system and method for adaptively reconstructing a depth map of a scene. In one embodiment, the present method involves the following. In response to having received a mask identifying a region of interest (ROI) in a scene, a spatio-temporal attribute of a pattern of source light projected on the scene and/or an operative resolution of a depth map reconstruction module is changed. Thereafter, at least one imaging device is used to sample measurements or otherwise image that scene. The depth map reconstruction module then receives the measurements and reconstructs a depth map of that scene which has a spatial resolution R_(ROI) in the ROI which is higher than a spatial resolution R_(other) of scene locations not associated with the ROI. In another embodiment, at least two imaging devices with overlapping fields of view such that salient features in said scene are simultaneously imaged by at least two devices in the array acquire images of the scene. The depth map reconstruction module establishes correspondences between said salient features, determines offsets between said established correspondences, and triangulates said offsets to obtain depth values. The mask may identify multiple ROI's and the reconstructed depth map will be such that R_(other)<R_(ROI) ₁ <R_(ROI) ₂ ≦ . . . R_(ROI) _(N) , where N is the number of ROIs identified by the mask.

Features and advantages of the present system and method will become apparent from the following detailed description and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other features and advantages of the subject matter disclosed herein will be made apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

FIG. 1 shows one embodiment of an example active stereo sensing system for adaptively reconstructing a depth map of a scene in accordance with the teachings hereof;

FIG. 2 shows another embodiment of an example passive stereo sensing system for adaptively reconstructing a depth map of a scene in accordance with the teachings hereof;

FIG. 3 is a flow diagram which illustrates one embodiment of the present method for adaptively reconstructing a depth map of a scene utilizing the active stereo sensing system of FIG. 1;

FIG. 4 is a continuation of the flow diagram of FIG. 3 with flow processing continuing with respect to nodes A or B;

FIG. 5 is a continuation of the flow diagram of FIG. 4 with flow processing continuing with respect to node C;

FIG. 6 is a flow diagram which illustrates one example embodiment of the present method for adaptively reconstructing a depth map of a scene utilizing the passive stereo sensing system of FIG. 2;

FIG. 7 is a continuation of the flow diagram of FIG. 6 with flow processing continuing with respect to node A;

FIG. 8 is a block diagram of the active stereo sensing system wherein various aspects of the present method, as described with respect to the flow diagrams of FIGS. 3-5, are performed;

FIG. 9 is a block diagram of the passive stereo sensing system wherein various aspects of the present method, as described with respect to the flow diagrams of FIGS. 6-7, are performed;

FIG. 10 illustrates one embodiment of how triangulation is performed in the active sensing system of FIGS. 1 and 8; and

FIG. 11 illustrates one embodiment of how triangulation is performed in the passive stereo sensing system of FIGS. 2 and 9.

DETAILED DESCRIPTION

What is disclosed is a system and method for adaptively reconstructing a depth map of a scene.

NON-LIMITING DEFINITIONS

An “image” of a scene, as is generally understood, is an array of pixels with each pixel having an associated location in the image and a value representative of a measured reflectance of the scene at that pixel location.

A “region of interest”, a “ROI” is an identified area of a scene whose depth map is intended to be reconstructed using the teachings disclosed herein with a higher quality relative to the depth maps of other areas of that scene. What defines a particular region of interest will largely depend on the application where the present invention finds its uses. A region of interest can be identified from an image of a scene that is acquired with an imaging device such as a camera. Alternatively, the image of the scene is acquired with a separate imaging device having a significantly similar view point of the scene. In yet another embodiment, the image of the scene is received from an existing database of images. A region of interest is then identified from the image of the scene. In yet another embodiment, a region of interest is identified from a depth map of a scene initially reconstructed at a nominal resolution by the stereo system. In yet another embodiment, a region of interest is identified from an image of a scene and a corresponding depth map. In yet another embodiment, a region of interest is identified from a temporal sequence of images or depth maps of a scene. Regions of interest can be identified by processing at least one image and/or at least one depth map of the scene using any of: pixel classification, object identification, facial recognition, color, texture, spatial features, spectral information, pattern recognition, motion detection, foreground detection, and a user input. The location, shape or size of the identified region of interest can change over time. Once a region of interest has been identified, changes in the location of the identified region of interest can be identified by tracking techniques. Alternatively, re-identification of the region of interest based on performing recurrent pixel classification, object identification, facial recognition, color, texture, spatial features, spectral information, pattern recognition, motion detection, foreground detection, depth-based segmentation, or a user input.

A “mask” identifies regions of interest in a scene. The mask can be dynamically updated in real-time in response to a new region of interest having been identified in the scene, a location of an existing region of interest changing in the scene, a region of interest no longer being of interest, and a user input. The mask may be received at a highest desired resolution R_(max). If the mask is received at a resolution which is less than a highest desired resolution, the mask can be upsampled. The mask may be received from a remote device over a network via a wired or wireless pathway, or retrieved from a storage device such as a memory or a hard drive. The mask may have binary values, in which case, pixels associated with the region of interest may have ‘1’ values and pixels not associated with the region of interest may have ‘0’ values. Alternatively, the mask may have integer values, where pixels with different values may be associated with different regions of interest.

A “depth map” is a spatially varying two-dimensional signal with values being proportional to the depth of the scene relative to the depth-sensing device at the location in the scene corresponding to the location in the depth map.

A “range- or depth-sensing device” is a device that estimates a depth map of a scene. One such device is an active stereo system comprising an illuminator and a camera or imaging device. The imaging device detects a reflection of light projected onto a scene by the illuminator. Examples of imaging devices include: a monochrome camera, a color camera, an infrared depth camera, a multispectral camera, a hyperspectral camera, or a combination thereof. The illuminator, which may be coupled with a light modulator, projects source light in the electromagnetic band where the imaging device is sensitive. Various sensing devices are shown in the embodiments of FIGS. 1 and 2. Another such device is a passive stereo system which samples measurements of light reflected off surfaces in a scene via two or more imaging devices with overlapping fields of view. The imaging devices are positioned such that salient features in the scene can be imaged by two or more imaging devices simultaneously. Examples of imaging devices include: a monochrome camera, a color camera, an infrared depth camera, a multispectral camera, a hyperspectral camera, or a combination thereof. Yet another such device is a range-sensing system such as a time-of-flight camera, a RADAR device, a LiDAR device, or a photo-wave device. Time-of-flight devices resolve distance based on the known speed of propagation of a wave by measuring the time-of-flight of a light or sound source between the sensor and different points in the scene. In some cases, a time-of-flight device includes a point-by-point scanning laser or light pulse that sweeps across different points in the scene and performs depth measurement at each point in the scene across which the sweep occurred. In other cases, scannerless systems comprising arrays of point-by-point range devices are used, wherein depth values for multiple points in the scene are acquired simultaneously can be used. Combinations of both technologies (e.g., sweeping a one-dimensional array of point-by-point devices) may be utilized.

A “Spatial Light Modulator (SLM)” or simply “Light Modulator” is a device which modulates light, for example, in order to enable adaptable projection of an undistorted pattern of source light with known spatio-temporal attributes. The projected pattern of light can be any pattern such as, for instance, a pattern with uniform or non-uniform spatial attributes, a pattern with textural spatial attributes, a pattern with spatial attributes comprising a sinusoidal grating, or a pattern having pseudo-random spatial attributes. Multiple patterns of light can also be projected in sequence. Examples of spatial light modulators include, but are not limited to Digital Micromirror Devices, Transmissive Liquid Crystals and Liquid Crystals on Silicon, as are generally understood.

A “depth map reconstruction module” is a system comprising, for example, a processor and a memory for generating a depth map of a scene by aggregating individual depth measurements. In one embodiment, where an active stereo sensing system is used, depth map reconstruction is performed by establishing correspondences between spatial attributes in the detected pattern and spatial attributes of the projected undistorted pattern, and triangulating the established correspondences to characterize offsets or displacements therebetween. Correspondences are established with the aid of coding techniques. These offsets are converted to absolute depth values based on the known relative placement between the imaging device and the projector, as well as on the intrinsic parameters of the projector and imaging device in a process known as triangulation. When the relative placement or the parameters are not known, relative depth values can still be obtained via triangulation. Methods for finding correspondences include: a correlation-based method, a relaxation-based method, dynamic-programming-based method, and prediction-and-verification-based method. Such methods are well understood in the art. In another embodiment where a passive stereo sensing system is used, the depth map reconstruction module generates a depth map of a scene by characterizing offsets or displacements between locations of salient features identified in the images captured by at least two imaging devices with overlapping fields of view of the scene. These offsets are converted to absolute depth values which comprise the depth map using a conversion which is based on the offsets, the known relative placement between the at least two imaging devices, and the intrinsic parameters of the imaging devices. The depth map can also comprise relative values which are obtained when some of the parameters in the system are not known. Depth values of locations not associated with the salient features can be interpolated from the depth values of locations associated with the salient features. In yet another embodiment where a time-of-flight system is used, a depth map is then reconstructed by aggregating a plurality of point depth measurements corresponding to a plurality of points in the scene, each of the plurality of depth measurements obtained by point-by-point range measurement. A multiplicity of depth measurements can be acquired by sweeping the point-by-point device or by arranging them in one- or two-dimensional arrays.

“Changing an operative resolution” of the depth map reconstruction module means spatially adjusting the resolution of the reconstructed depth map by adjusting parameters or algorithms in the depth map reconstruction procedure. Changing an operative resolution of the depth map reconstruction module may be performed globally in order to achieve a given data throughput, or locally as determined by the location of one or more ROIs, where the density of reconstruction at locations corresponding to the ROI is increased. Equivalently, the density of reconstruction of locations not corresponding to the ROI is decreased. In one embodiment where an active stereo system is used, changing an operative resolution of the depth map reconstruction module comprises changing a density of the correspondences determined between the spatial attributes of the projected pattern and the spatial distortions of the detected distorted pattern. Correspondences are established with the aid of coding techniques. Once the correspondences between each pixel (at different densities) have been determined, the depth of each point for which a correspondence has been found can be recovered via projective transformations known in the arts. The density of correspondences can be adjusted by changing a spatio-temporal attribute of the pattern of source light projected onto said scene by the illuminator, by changing a density of correspondences established by the depth map reconstruction module, or both. This is because active stereo systems rely on spatial multiplexing, temporal multiplexing or a combination of both. Structured illumination patterns that rely on spatial multiplexing allow correspondences to be found by assigning specific characteristics to specific locations in and around local neighborhoods of the pattern. These unique characteristics are encoded based on spatial attributes of the neighborhoods including spatially varying intensity or color values. Temporal multiplexing can be used as an alternative or in conjunction with spatial multiplexing. Temporal multiplexing methods create unique attributes via the successive projection of patterns onto the object surface. The attribute associated with a position in the image is not completely recovered until all patterns corresponding to the location have been projected and measured. Some methods combine spatial and temporal information to take advantage of both approaches. These methods are described in “A State Of The Art In Structured Light Patterns For Surface Profilometry”, J. Salvi, S. Fernandez, T. Pribanic and X. Llado, Pattern Recognition, Vol. 43, pp. 2666-2680, (2010), incorporated herein in its entirety.

In another embodiment wherein a passive stereo system is used, changing an operative resolution of the depth map reconstruction module means changing a density of correspondences of salient features in the multiple images acquired by the imaging devices in the passive stereo system or changing the spatial resolution for interpolating depth values of locations not associated with the correspondences utilizing the derived depth values of locations associated with the correspondences, or both. A density of depth values can be controlled by adjusting the density of extracted features to match in the images. A density of extracted features can be adjusted, for example, by varying a selectivity threshold that determines the degree of saliency required for a feature to be considered salient: the lower the threshold, the more lenient the requirements for saliency, and, in consequence, the larger the number of salient features extracted. Methods for establishing correspondences are described in: “Recent Progress In Coded Structured Light As A Technique To Solve The Correspondence Problem: A Survey”, J. Battle, E. Mouaddib and J. Salvi, Pattern Recognition, Vol. 31, No. 7, pp. 963-982, (1998), and in: “High-Accuracy Stereo Depth Maps Using Structured Light”, D. Scharstein and R. Szeliski, Computer Vision and Pattern Recognition (CVPR), Vol. 1, pp. 195-202, (2003), both of which are also incorporated herein in their entirety.

In yet another embodiment where a time-of-flight measurement system is used, changing an operative resolution of a depth map reconstruction module can be achieved, for example, by either increasing the density of point-by-point range measurements at locations associated with the ROI or decreasing the density of point-by-point range measurements at locations associated with the ROI, or both.

The operative resolution of the depth map reconstruction module may be changed globally in order to achieve a given data throughput, or changed locally as determined by the location of one or more ROIs, where the density of reconstruction at locations corresponding to the ROI is increased, or, equivalently, the density of reconstruction of locations not corresponding to the ROI is decreased.

Example Active Stereo Sensing System

Reference is now being made to FIG. 1 which shows one example sensing system for adaptively reconstructing a depth map of a scene utilizing active stereo sensing in accordance with the teachings hereof.

In FIG. 1, mask 100 identifies a region of interest (ROI) 101 in an example scene. As shown, the region of interest is a chest area of the person 102. Illuminator 103 includes a light modulator (not shown) which modulates source light from the illuminator to produce an undistorted pattern of light with known spatio-temporal attributes (shown as a plurality of light rays 105). The undistorted pattern of source light is projected onto the scene. Shown in communication with the light modulator is a special purpose computer 106 comprising a processor and memory. The special purpose computer may be on a single chip or, for example, a computer workstation. Storage device 107, in one embodiment, contains machine-readable program instructions executed by the processor enable the special purpose computer system to operate in two modes. In a first mode, the special purpose computer 106 changes one or more spatio-temporal attributes of the undistorted pattern 105 projected onto the scene. In a second mode, the special purpose computer changes an operative resolution of the depth map reconstruction module such that a density of correspondences is changed between spatial distortions detected in the pattern of reflected light and spatial attributes of the undistorted pattern of projected light. In a third mode, a combination of the first two modes can be used. Active stereo systems rely on spatial multiplexing, temporal multiplexing or a combination of both in order to enable correspondences to be established. Structured illumination patterns that rely on spatial multiplexing allow correspondences to be found by assigning specific characteristics to specific locations in and around local neighborhoods of the pattern. These unique characteristics are encoded based on spatial attributes of the neighborhoods including spatially varying intensity or color values. The resolution of the reconstructed depth map can be increased by increasing the density of said spatial attributes via appropriate spatial modulation techniques effectuated by the light modulator. Temporal multiplexing can be used as an alternative or in conjunction with spatial multiplexing. Temporal multiplexing methods create unique attributes via the successive projection of patterns onto the object surface. The attribute associated with a position in the image is not completely recovered until all patterns corresponding to the location have been projected and measured. The resolution of the reconstructed depth map can be increased by increasing the number of different said successive patterns corresponding to a given location via appropriate temporal modulation techniques effectuated by the light modulator. Some methods combine spatial and temporal information to take advantage of both approaches.

For example, in one embodiment where spatial multiplexing coding is used, different locations in the pattern are assigned different colors or shapes of light for unique identification. Neighborhoods assigned a given pattern color or shape in the pattern and at locations not corresponding to the ROI may be larger than neighborhoods assigned a given pattern color in the pattern and at locations corresponding to the ROI. Alternatively, neighborhoods of equal size can be used, while larger numbers of neighborhoods are assigned at locations corresponding to the ROI relative to locations not corresponding to the ROI. In the case where sequences of patterns are used to code a location, a unique sequence of colored patterns may be projected onto each location in the scene. Specifically, if M different colors are used in sequences of length N, then M^(N) different locations can be uniquely encoded. For a fixed number of possible colors, shorter sequences can be used to encode locations not corresponding to the ROI relative to those used to encode locations corresponding to the ROI. For example, in one embodiment, a new color code at locations not corresponding to the ROI can be projected for every two, three or four color codes projected at locations corresponding to the ROI. Combinations of spatial and temporal multiplexing can, for example, project unique sequences of colored patterns onto the scene with progressively higher spatial resolution. The rate at which the spatial resolution of the pattern increases can be higher at locations corresponding to the ROI relative to locations not corresponding to the ROI. Also, the number of unique colors assigned to sequences used at locations corresponding to the ROI can be larger than that assigned to sequences used at locations not corresponding to the ROI.

Imaging device 110 receives incoming light and has detectors or sensors (not shown) which sample measurements of electromagnetic radiation in a wavelength range containing the wavelength of the projected source light. The reflected pattern of light is shown as a plurality of rays, collectively at 112. In one implementation, the sensors detecting the pattern of reflected light are located so that the optical axis of the imaging device 110 is approximately perpendicular to the surface of the ROI 101. Other implementations involve placing the illuminator/modulator and the imaging device at different angles so that it senses the reflected light pattern sufficient for depth map reconstruction. Depth map reconstruction module 113 generates a plurality of depth maps, collectively at 114, by establishing correspondences between spatial attributes in the detected reflected pattern of light and spatial attributes of the projected undistorted pattern and triangulating the established correspondences to characterize differences therebetween. Correspondences are established with the aid of coding techniques. It should be appreciated that the depth maps are illustrative.

Workstation 120 is shown having computer case 121 which houses a motherboard with a processor and memory, a communications link such as a network card, graphics card, and the like, and other software and hardware to perform the functionality of a computing device as is generally known in the arts. The motherboard reads/writes to a computer readable media 122 such as a floppy disk, optical disk, CD-ROM, DVD, magnetic tape, etc. The workstation includes a display device 123 such as a CRT, LCD, touch screen, etc., a keyboard 124 and a mouse 125. Information may be entered by a user of the present system using the graphical user interface. For example, the operative resolution of the depth map reconstruction module may be changed in response to a user using the workstation to select a desired pixel density for a region of interest or to select regions of interest in the scene. A user may further use the workstation to generate the mask from images captured of the scene. The workstation has a storage device 126. The workstation, including processor 107 and memory 108, are shown placed in communication with one or more remote devices over network 127, which may comprise a wired or wireless connection.

Example Passive Stereo Sensing System

Reference is now being made to FIG. 2 which shows one example passive stereo sensing system for adaptively reconstructing a depth map of a scene in accordance with the teachings hereof. Descriptions regarding various system components similarly labeled in the system of FIG. 1 are not repeated.

In FIG. 2, mask 100 identifies a region of interest 101 of a chest area of a person 102. Imaging devices 109 and 111 are positioned such that salient features in the scene can be imaged by the two imaging devices. The imaging mode associated with a passive stereo system comprising a two-camera (or binocular) system is known as stereoscopy; it is then said that the scene is stereoscopically imaged. Images 109 and 111, shown as a collection of light rays, are provided to a depth map reconstruction module 113 which generates depth maps 114 of the scene by establishing correspondences between salient features in the received images and triangulating the offsets or displacements between the established correspondences across images acquired by multiple imaging devices in the system to obtain depth values. These offsets can be converted to absolute depth values based on the known relative placement between the imaging devices and on the known intrinsic parameters of the imaging devices. If some or all of the parameters are not known, relative depth values can still be computed. The depth maps are communicated to the workstation 120.

It should be appreciated that the workstation 120 of FIGS. 1 and 2 has an operating system and other specialized software configured to display a wide variety of numeric values, text, scroll bars, pull-down menus with user selectable options, and the like, for entering, selecting, or modifying information displayed on the display device. The embodiment shown is only illustrative. Moreover, any of the Information obtained from any of the components of the system of FIGS. 1 and 2 can be saved to storage device 126. Although shown as a desktop computer, it should be appreciated that workstation can be a laptop, mainframe, client/server, or a special purpose computer such as an ASIC, circuit board, dedicated processor, or the like.

Flow Diagram of Active Stereo Sensing System Embodiment

Reference is now being made to the flow diagram of FIG. 3 which illustrates one embodiment of the present method for adaptively reconstructing a depth map of a scene utilizing the active stereo sensing system of FIG. 1. Flow processing starts at step 300 and immediately proceeds to step 302.

At step 302, receive a mask which identifies at least one region of interest in a scene. The mask may be generated by processing an image of the scene captured by a camera or a video system. A region of interest, such as the example thoracic region 101 of the person 102, can be identified in an image using any of a wide array of techniques.

At step 304, a determination is made whether to change the operative resolution of the depth map reconstruction module. If it is desired not to change the operative resolution of the depth map reconstruction module then processing continues with respect to step 308. Otherwise, processing continues with respect to step 306.

At step 306, change an operative resolution of the depth map reconstruction module. Changing the operative resolution effectively changes a density of correspondences between spatial distortions in the detected pattern of reflected light and spatial attributes of the projected undistorted pattern of light. Active stereo systems rely on spatial multiplexing, temporal multiplexing or a combination of both in order to enable correspondences to be established. Structured illumination patterns that rely on spatial multiplexing allow correspondences to be found by assigning specific characteristics to specific locations in and around local neighborhoods of the pattern. These unique characteristics are encoded based on spatial attributes of the neighborhoods including spatially varying intensity or color values. The resolution of the reconstructed depth map can be increased by increasing the density of said spatial attributes via appropriate spatial modulation techniques effectuated by the light modulator. Temporal multiplexing can be used as an alternative or in conjunction with spatial multiplexing. Temporal multiplexing methods create unique attributes via the successive projection of patterns onto the object surface. The attribute associated with a position in the image is not completely recovered until all patterns corresponding to the location have been projected and measured. The resolution of the reconstructed depth map can be increased by increasing the number of different said successive patterns corresponding to a given location via appropriate temporal modulation techniques effectuated by the light modulator. A combination of spatial and temporal modulation techniques can be used,

At step 308, a determination is made whether to change the spatio-temporal attributes of the projected pattern of light. If it is desired to change the spatio-temporal attributes of the pattern of light then processing continues with respect to node A of FIG. 4. Otherwise, processing continues with respect to node B of FIG. 4.

Reference is now being made to FIG. 4 which is a continuation of the flow diagram of FIG. 3 with flow processing continuing with respect to nodes A or B. At step 310, change a spatio-temporal attribute of the pattern of light projected by the light modulator such that a region of interest in the scene, as identified by the mask, has a higher spatial or temporal resolution relative to other areas in the scene. Spatial or temporal attributes of the pattern of light may be changed in response to a user selecting a desired pixel density for a region of interest identified by the mask using the workstation 120 of FIG. 1. In another embodiment, one or more desired spatial or temporal attributes can be retrieved from memory 108 and used by the processor 107. For example, in one embodiment where spatial multiplexing coding is used, different locations in the pattern are assigned different colors or shapes of light for unique identification. Neighborhoods assigned a given pattern color or shape in the pattern and at locations not corresponding to the ROI may be larger than neighborhoods assigned a given pattern color in the pattern and at locations corresponding to the ROI. Alternatively, neighborhoods of equal size can be used, while larger numbers of neighborhoods are assigned at locations corresponding to the ROI relative to locations not corresponding to the ROI. In the case where sequences of patterns are used to code a location, a unique sequence of colored patterns may be projected onto each location in the scene. Specifically, if M different colors are used in sequences of length N, then M^(N) different locations can be uniquely encoded. For a fixed number of possible colors, shorter sequences can be used to encode locations not corresponding to the ROI relative to those used to encode locations corresponding to the ROI. For example, in one embodiment, a new color code at locations not corresponding to the ROI can be projected for every two, three or four color codes projected at locations corresponding to the ROI. Combinations of spatial and temporal multiplexing can, for example, project unique sequences of colored patterns onto the scene with progressively higher spatial resolution. The rate at which the spatial resolution of the pattern increases can be higher at locations corresponding to the ROI relative to locations not corresponding to the ROI. Also, the number of unique colors assigned to sequences used at locations corresponding to the ROI can be larger than that assigned to sequences used at locations not corresponding to the ROI.

At step 312, modulate the light to produce a pattern of light with known spatio-temporal attributes. Special purpose computer 106 and the workstation 120 are in communication with the light modulator 104 such that the light is modulated to project a desired undistorted pattern 105 onto the scene.

At step 314, detect the reflected pattern of projected source light using the imaging device within the active stereo sensing system. Imaging device 110 detects the reflected pattern 112 off surfaces in the scene.

At step 316, communicate the measurements obtained by the imaging device to the depth map reconstruction module.

At step 318, generate, using the depth map reconstruction module, a depth map of the scene. In this embodiment, the depth map is generated by establishing correspondences between spatial attributes in the detected pattern and spatial attributes of the projected undistorted pattern and triangulating the established correspondences to characterize differences therebetween. Correspondences are established with the aid of coding techniques. The differences determined therebetween can be converted to depth values. If parameters of the active stereo sensing system such as baseline and intrinsic parameters of the illuminator and the camera are known, the obtained depth values are absolute; otherwise, relative values can be obtained. The depth map of the scene is reconstructed using the depth values. The depth map is such that a spatial resolution R_(ROI) in the ROI is higher relative to a spatial resolution R_(other) of scene locations not associated with the ROI, where: R_(other)<R_(ROI). Multiple ROIs can be identified, each with a corresponding R_(ROI). Alternatively, a single ROI corresponding to the whole scene can be identified, and densities of the reconstructed depth map can be adjusted globally to adhere to certain data throughput constraints

Reference is now being made to FIG. 5 which is a continuation of the flow diagram of FIG. 4 with flow processing continuing with respect to node C.

At step 320, communicate the depth map to a display device of a computer workstation. One display is shown in the workstation of FIG. 1. The depth map may be communicated to a remote device over the network 127 using, for instance, a wireless cellular protocol.

At step 322, a determination is made whether to generate another depth map from the current mask. If another depth map is desired then processing continues with respect to node D of FIG. 3 wherein, at step 304, another determination is made whether to change the operative resolution of the depth map reconstruction module. Processing continues and flow repeats in a manner as described for each depth map of the scene desired to be generated until no more depth maps are desired using the current mask.

At step 324, a determination is made whether to update the current mask. If the current mask does not need to be updated and no more depth maps are desired to be generated then, in this embodiment, further processing stops. If it is desired to update the mask (or produce a new mask) because, for instance, a region of interest has changed in the scene or a new region of interest in the scene has been identified then, at step 326 the current mask is updated (received or produced) and flow continues with respect to node D wherein, at step 304, processing repeats in a similar manner as described. Processing repeats as depth maps of the scene are repeatedly generated until no more depth maps are desired. Thereafter, further processing stops.

Flow Diagram of Passive Stereo Sensing System Embodiment

Reference is now being made to the flow diagram of FIG. 6 which illustrates one example embodiment of the present method for adaptively reconstructing a depth map of a scene utilizing the passive stereo sensing system of FIG. 2. Flow processing starts at step 600 and immediately proceeds to step 602.

At step 602, receive a mask which identifies at least one region of interest in a scene.

At step 604, a determination is made whether to change the operative resolution of the depth map reconstruction module. If it is desired not to change the operative resolution of the depth map reconstruction module then processing continues with respect to step 608. Otherwise, processing continues with respect to step 606.

At step 606, change an operative resolution of the depth map reconstruction module. Changing the operative resolution effectively changes a density of correspondences between salient features captured in the at least two images of the scene or the spatial resolution for interpolating depth data of locations not associated with said correspondences utilizing the derived depth data of locations associated with said correspondences or both. A density of extracted features can be adjusted, for example, by varying a selectivity threshold that determines the degree of saliency required for a feature to be considered salient: the lower the threshold, the more lenient the requirements for saliency, and, in consequence, the larger the number of salient features extracted.

At step 608, use at least two imaging devices with overlapping fields of view to image the scene. A stereoscopically imaged scene is shown in the embodiment of FIG. 2.

Reference is now being made to the flow diagram of FIG. 7 which is a continuation of the flow diagram of FIG. 6 with flow processing continuing with respect to node A.

At step 610, communicate the images to the depth map reconstruction module.

At step 612, generate, using the depth map reconstruction module, a depth map of the scene by characterizing offsets between salient features in the images. The offsets can be readily converted to absolute depth values based on the known relative placement between the imaging devices in the passive stereo system and on known intrinsic parameters of the imaging devices used to capture those images. Depth values of locations not associated with salient features can be interpolated from the depth values of locations associated with the salient features. The depth map of the scene is reconstructed using the depth values. Relative depth values can be obtained if some of the parameters in the passive sensing system are not known. The depth map generated is such that a spatial resolution R_(ROI) in the ROI is higher relative to a spatial resolution R_(other) of scene locations not associated with the ROI, where: R_(other)<R_(ROI). Multiple ROIs can be identified, each with a corresponding R_(ROI). Alternatively, a single ROI corresponding to the whole scene can be identified, and densities of the reconstructed depth map can be adjusted globally to adhere to certain data throughput constraints.

At step 614, communicate the depth map to a display device of a computer workstation. One display is shown in the workstation of FIG. 1. The depth map may be communicated to a remote device over the network 127.

At step 616, a determination is made whether to generate another depth map from the current mask. If another depth map of this scene is desired then processing continues with respect to node C of FIG. 6 wherein, at step 604, another determination is made whether to change the operative resolution of the depth map reconstruction module. Processing continues and flow repeats in a manner as described for each depth map of the scene desired to be generated until no more depth maps are desired using the current mask.

At step 618, a determination is made whether to update the current mask. If the current mask does not need to be updated and no more depth maps are desired to be generated then, in this embodiment, further processing stops. If however it is desired to update the mask (or produce a new mask) because, for instance, a region of interest has changed in the scene or a new region of interest in the scene has been identified then, at step 620 the current mask is updated (or received new mask produced) and flow continues with respect to node B wherein, at step 604, processing repeats in a manner as described. Processing repeats as depth maps of the scene are repeatedly generated until no more depth maps of the scene are desired. Thereafter, further processing stops.

It should be understood that the flow diagrams hereof are illustrative. One or more of the operations may be performed in a differing order. Other operations may be added, modified, enhanced, or consolidated. Variations thereof are intended to fall within the scope of the appended claims. All or portions of the flow diagrams may be implemented partially or fully in hardware in conjunction with machine executable program instructions.

Block Diagram of an Active Stereo Sensing System

Reference is now being made to FIG. 8 which shows a block diagram of the sensing system 800 for performing various aspects of the present method as described with respect to the flow diagrams of FIGS. 3-5. The system of FIG. 8 illustrates a plurality of modules and devices placed in communication with the networked workstation of FIG. 1.

In the system of FIG. 8, mask module 801 receives a mask via communication port 806 and provides the mask to the special purpose computer 106 of FIG. 1 shown comprising a central processing unit (CPU) and a memory. The processor executes machine-readable program instructions which enable the electronically-controllable light modulator 103 to change one or more spatial attributes of an undistorted pattern of source light 105 projected onto the scene and for changing an operative resolution of the depth map reconstruction module 113. The projected undistorted pattern of light reflects off surfaces in the scene such as, for instance, the chest area of person 102. Distortions are introduced into the projected pattern by surface variations thereof. A reflection of the projected light 112 enters imaging device 110 wherein the incoming light is focused (at 802) onto a detector array or sensor array (at 803) which samples measurements of electromagnetic radiation in a wavelength range containing the wavelength of the projected source light emitted by illuminator 808. Detectors 803 output measurements which, in this embodiment, are communicated to a remote device via communication port 804 which may comprise, for example, a USB or a network cable. Depth map reconstruction module 113 receives the measurements and generates a depth map of the scene. Depth maps generated by the depth map reconstruction module are communicated to storage device 805 and may be communicated to one or more remote devices over communication port 804. The depth maps generated by the depth map reconstruction module 113 are provided to a workstation 120 via bus 807. The workstation is in communication with one or more remote devices over network 127 using, for example, a network card internal to the workstation.

Using the user interface of the workstation, a user thereof may change or control the functionality of any of the modules and processing units comprising the system 800. Depth maps, masks, and the like, can be displayed on the display monitor 123 wherein various aspects thereof can be added, deleted, or otherwise modified by a user. Measurements and values generated by the system 800 may be displayed on the display device. Masks can be generated using the workstation and communicated to the mask module 801 via port 806. The pattern of modulated light 105 and/or the detected reflected pattern 112 may be communicated to the workstation via bus 807 and displayed on the display monitor 123. A user can selectively set desired pixel density levels, select spatial patterns or define attributes of the spatial patterns, and may further define or otherwise set a desired operative resolution for the depth map reconstruction module. The workstation may further be used to identify one or more regions of interest in an image of the scene. The identified regions of interest can be communicated to the mask module 801, depending on the embodiment. The mask module may update the mask in response to the user input, in response to a region of interest changing in the scene, and a region of interest no longer being considered a region of interest. An operator of the workstation may modify the results generated by any of the modules or processing units of the adaptive depth sensing system 800 as needed and/or re-direct the modified results back to the same or different modules for further processing or re-processing.

Block Diagram of a Passive Stereo Sensing System

Reference is now being made to FIG. 9 which shows is a block diagram of the passive stereo sensing system 900 wherein various aspects of the present method, as described with respect to the flow diagrams of FIGS. 6-7, are performed. The system of FIG. 9 illustrates a plurality of modules and devices placed in communication with the networked workstation of FIG. 2.

In the system of FIG. 9, mask module 901 receives a mask via communication port 902 and provides the mask to the special purpose computer 903 shown comprising a central processing unit (CPU) and a memory. The processor executes machine-readable program instructions for changing the operative resolution of the depth map reconstruction module 113. Imaging devices 108 and 108 capture images of the scene by directing incoming light, at 904 and 905, respectively, onto their respective detector arrays 906 and 907. Images of the scene are communicated to the depth map reconstruction module 113. Each of the detector arrays 906 and 907 communicate their respective images to one or more remote devices via communication ports 902 and 909, respectively, which may comprise, for example, a USB or a network cable. Depth map reconstruction module 113 receives the captured images 908, and determines correspondences between salient features in the images. Depth values are generated based on the offset or relative displacement between the corresponding salient features across the captured images. Depth values of locations not associated with the salient features may be interpolated from the depth values of locations associated with the salient features. Depth maps generated by the depth map reconstruction module 113 are communicated to storage device 910 and may be communicated to one or more remote devices over communication port 909. Depth maps generated by the depth map reconstruction module 113 are provided to the workstation 120 via bus 911. The workstation is in communication with one or more remote devices over network 127 using, for example, a network card internal to the workstation.

Using the user interface of the workstation, a user thereof may change or control the functionality of any of the modules and processing units comprising the stereo sensing system 900. Depth maps, masks, and the like, can be displayed on the display monitor 112 wherein various aspects thereof can be added, deleted, or otherwise modified by a user. Measurements and values generated by the system 900 may be displayed on the display device. Masks can be generated using the workstation and communicated to the mask module 901 via port 902. The captured images 908 may also be communicated to the workstation via bus 911 and displayed on the display monitor 112. A user can selectively set desired pixel density levels, select spatial patterns or define attributes of the spatial patterns, and may further define or otherwise set a desired operative resolution for the depth map reconstruction module. The workstation may further be used to identify one or more regions of interest in an image of the scene. The identified regions of interest can be communicated to the mask module 901, depending on the embodiment. The mask module may update the mask in response to the user input, in response to a region of interest changing in the scene, and a region of interest no longer being considered a region of interest. An operator of the workstation may modify the results generated by any of the modules or processing units of the adaptive depth sensing system 900 as needed and/or re-direct the modified results back to the same or different modules for further processing or re-processing.

Each module of the sensing systems of FIGS. 8 and 9 may have a specialized processor executing machine readable program instructions for performing their intended functions. A module may comprise an ASIC, an electronic circuit, a special purpose processor, and the like. A plurality of modules may be executed by a single special purpose computer system or a plurality of computer systems operating in parallel. Modules may include software/hardware which may further comprise an operating system, drivers, controllers, and other apparatuses some or all of which may be connected via a network. Various modules may designate one or more components. A plurality of modules may collectively perform a single function.

Triangulation

Reference is now being made to FIG. 10 which illustrates one embodiment of how triangulation is performed in the active stereo sensing system of FIGS. 1 and 8.

In this case, the origin of the global coordinate system O is placed at the center of the imaging plane of the imaging device. The camera focal point is located at coordinates F₁ at a distance f₁ from the origin O along the z axis; in other words, F₁=[0,0,f₁]^(T). An object point P₀ located at coordinates [x_(P) ₀ ,y_(P) ₀ ,z_(P) ₀ ] relative to O is imaged at point P₁ with coordinates [x_(P) ₁ , y_(P) ₁ , 0]^(T). Since P₀, F₁ and P₁ are collinear, the relationship P₁=F₁+α(P₀−F₁) holds for some scalar α₁. The projector can be thought of as an inverse imaging system with an optical axis parallel to the same camera, centered at O₂ with coordinates [x₂, y₂, z₂]^(T) relative to O and with focal point F₂ located at [x₂, y₂, z₂+f₂]^(T). Assuming that the point P₁ imaged by the camera has been projected by the inverse imaging system from location P₂=[x₂+x_(P) ₂ ,y₂+y_(P) ₂ ,z₂]^(T) which is collinear with P₀ and F₂ so that P₂=F₂+α₂(P₀−F₂) holds for some scalar α₂. Expanding each of these equations into their scalar forms and simplifying, we get the following relationships:

$\begin{matrix} {z_{p_{0}\;} = {\frac{f_{1}f_{2}}{{f_{1}x_{p_{2}}} - {f_{2}x_{p_{1}}}}\left\lbrack {x_{2} + x_{p_{2}} - x_{p_{1}} + \frac{z_{2}x_{p_{2}}}{f_{2}}} \right\rbrack}} & (1) \\ {z_{p_{0}} = {\frac{f_{1}f_{2}}{{f_{1}y_{p_{2}}} - {f_{2}y_{p_{1}}}}\left\lbrack {y_{2} + y_{p_{2}} - y_{p_{1}} + \frac{z_{2}y_{p_{2}}}{f_{2}}} \right\rbrack}} & (2) \end{matrix}$

Assuming the focal lengths of the camera and the projector F₁ and F₂ are known, as well as the location of the projector relative to the camera O₂, either EQ. (1) or (2) can be used to solve for Z_(P) ₀ , i.e., the distance from the point to the camera along the optical axis. Note that knowledge of x_(P) ₂ or y_(P) ₂ is enough to solve for z_(P) ₀ , which requires knowledge of the correspondence between P₁ and P₂. The use of uniquely coded patterns uniquely establishes this correspondence; alternatively, both equations can be solved and a functional combination of both solutions used as a final solution. Reconstructing a depth map of a scene comprises determining a set of scene point distances to the camera, that is, the values of Z_(P) ₀ of a plurality of points in the scene. Since there is one such value for each projected feature for which a correspondence can be established, the resolution of the resulting depth map will depend on the density of such correspondences, which can be controlled by controlling the resolution of the pattern being projected.

Reference is now being made to FIG. 11 which illustrates one embodiment of how triangulation is performed in the passive stereo sensing system of FIGS. 2 and 9. The two imaging devices define coordinate systems x₁, y₁, z₁ and x₂, y₂, z₂ with origins O₁ and O₂, respectively. The imaging devices can be approximately modeled as pinhole cameras with optical axis coinciding with their respective z coordinate axis. The two cameras have focal points located at F₁ and F₂ located at distances f₁ and f₂ from their respective origins along their respective z axis. Image planes π₁ and π₂ lie on planes x₁, y₁ and x₂, z₂, respectively. Coordinates between the two coordinate systems are related by the following expression:

$\begin{matrix} {\begin{bmatrix} x_{2} \\ y_{2} \\ z_{2} \end{bmatrix} = {{R\begin{bmatrix} x_{1} \\ y_{1} \\ z_{1} \end{bmatrix}} + T}} & (4) \end{matrix}$

where R is a 3×3 orthonormal matrix describing a rotation operation and T is a 3×1 vector describing a translation.

Both devices stereoscopically image an object point P₀ located at coordinates [x_(P) ₀ ,y_(P) ₀ ,z_(P) ₀ ]^(T) relative to O₁ and at coordinates [x′_(P) ₀ ,y′_(P) ₀ ,z_(P) ₀ ]^(T) relative to O₂ in the 3D space which projects onto point P₁ on image plane π₁ and onto point P₂ on image plane π₂. Note that [x_(P) ₀ , y_(P) ₀ ,z_(P) ₀ ]^(T) and [x′_(P) ₀ , y′_(P) ₀ ,z′_(P) ₀ ]^(T) are related by EQ. (4). Since both P₁ and P₂ are on their respective image planes, the coordinates of P₁ relative to O₁ are P₁=[x_(P) ₁ ,y_(P) ₁ , 0] and the coordinates of P₂ relative to O₂ are P₂=[x_(P) ₂ ,y_(P) ₂ ,0]^(T). Since P₀, F₁ and P₁ are collinear, and P₀, F₂ and P₂ are too, the relationships P₁=F₁+α₁(P₀−F₁) and P₂=F₂+α₂ (P₀−F₂) hold for some scalars α₁ and α₂. Expanding each of these equations into their scalar forms, we get:

$\begin{matrix} {\frac{x_{p_{0}}}{x_{p_{1}}} = {\frac{y_{p_{0}}}{y_{p_{1}}} = \frac{f_{1} - z_{p_{0}}}{f_{1}}}} & (5) \\ {\frac{x_{P_{0}}^{\prime}}{x_{p_{2}}} = {\frac{y_{P_{0}}^{\prime}}{y_{p_{2}}} = \frac{f_{2} - z_{P_{0}}^{\prime}}{f_{2}}}} & (6) \end{matrix}$

Assuming the focal lengths of the cameras, the matrix R which describes the rotation and the vector T which describes the translation between the cameras are known, and since the coordinates of P₁ and P₂, EQS. (4), (5) and (6) can be used to compute the coordinates of P₀ in the 3D world. Note that this assumes that a correspondence between P₁ and P₂ has been established. Reconstructing a depth map of a scene comprises determining a set of scene point distances to a given camera, that is, the values of z_(P) ₀ or z′_(P) ₀ (or functional combinations thereof) of a plurality of points in the scene.

Given two or more images acquired with two or more cameras with at least partially overlapping fields of view, the correspondence problem refers to the task of finding pairs of points (one point in each image) in the images which can be identified as being projections of the same points in the scene. Correspondences can be found via local correlations and via feature extraction and matching. The local resolution of the reconstructed depth map that comprises the set of established scene point depths is determined by the local density of correspondences, since depth values can only be computed for points for which a correspondence has been found. A density of depth values can be controlled by adjusting the density of extracted features to match in the images. A density of extracted features can be controlled, for example, by varying a selectivity threshold that determines how salient features are: the lower the threshold, the more lenient the requirements for saliency, and, in consequence, the larger the number of salient features extracted.

Assume that the location of an image point P₁ on image plane π₁ is known and that we need to find the location of the corresponding point P₂. Instead of searching across the whole image plane π₂ for corresponding point P₂, the size of the search space can be significantly reduced by noting that P₂ has to be located along the line segment defined by the intersection between π₂ and the plane defined by the points P₁, F₁ and F₂. This is referred to as the epipolar constraint.

OTHER EMBODIMENTS

Various aspects of the systems and methods described herein are intended to be incorporated in an article of manufacture which may be shipped, sold, leased, or otherwise provided separately either alone or as part of a product suite. The above-disclosed features and functions or alternatives thereof, may be combined into other systems and applications. Presently unforeseen or unanticipated alternatives, modifications, variations, or improvements may become apparent and/or subsequently made by those skilled in the art and, further, may be desirably combined into other different systems or applications. Changes to the above-described embodiments may be made without departing from the spirit and scope of the invention. The teachings of any printed publications including patents and patent applications, are each separately hereby incorporated by reference in their entirety. 

What is claimed is:
 1. A method for adaptive depth map reconstruction, the method comprising: receiving a mask identifying at least one region of interest (ROI) in a scene; according to said mask, spatially changing an operative resolution of a depth map reconstruction module used to reconstruct a depth map of said scene; using a range-sensing device on said scene; and reconstructing, by said depth map reconstruction module, a depth map of said scene, said reconstructed depth map being such that a spatial resolution R_(ROI) in said ROI is higher relative to a spatial resolution R_(other) of scene locations not associated with said ROI, where: R_(other)<R_(ROI).
 2. The method of claim 1, wherein the range-sensing device is an active stereo device comprising an illuminator and an imaging device, wherein the illuminator projects an undistorted pattern with known spatio-temporal attributes onto the scene, wherein the imaging device detects a reflection of said pattern of light off surfaces in said scene, and wherein generating said depth map comprises: establishing correspondences between spatial attributes in said detected pattern and spatial attributes of said projected undistorted pattern; determining offsets between said established correspondences; triangulating said offsets to obtain depth values; and aggregating said depth values to reconstruct said depth map of said scene.
 3. The method of claim 2, wherein changing the operative resolution of a depth map reconstruction module comprises changing the density of established correspondences so that it is higher at locations corresponding to the ROI as identified by said mask.
 4. The method of claim 3, changing the density of established correspondences is performed by at least one of: changing a spatio-temporal attribute of the pattern of source light projected onto said scene by the illuminator, changing a density of correspondences established by the depth map reconstruction module, and a combination thereof.
 5. The method of claim 1, wherein said range-sensing device is a multi-camera array comprising at least two imaging devices with overlapping fields of view such that salient features in said scene are simultaneously imaged by at least two devices in the array and wherein generating said depth map comprises: establishing correspondences between said salient features; determining offsets between said established correspondences; triangulating said offsets to obtain depth values; and using said depth values to reconstruction said depth map of said scene.
 6. The method of claim 5, wherein changing the operative resolution of a depth map reconstruction module comprises changing the density of established correspondences so that it is higher at locations corresponding to the ROI as identified by said mask.
 7. The method of claim 6, wherein the density of established correspondences is changed by adjusting a selectivity threshold that determines the degree of saliency required for a feature to be considered salient.
 8. The method of claim 1, wherein said range-sensing device is a time-of-flight system and wherein changing an operative resolution of a depth map reconstruction module comprises changing the density of point-by-point range measurements by one of: increasing the density of point-by-point range measurements at locations associated with the ROI, decreasing the density of point-by-point range measurements at locations associated with the ROI, and a combination thereof.
 9. The method of claim 8, wherein the range-sensing system is a scanning point-by-point device and wherein the density of point-by-point range measurements is controlled by adjusting the scanning speed.
 10. The method of claim 8, wherein the range-sensing system is a scannerless array of point-by-point devices and wherein the density of point-by-point range measurements is controlled by at least one of: selectively de-activating point-by-point devices for array locations not associated with the ROI, selectively downsampling the point-by-point range measurements for array locations not associated with the ROI, and a combination thereof.
 11. The method of claim 1, wherein said mask identifies a total of N ROIs, and wherein R_(other)<R_(ROI) ₁ ≦R_(ROI) ₂ ≦ . . . ≦R_(ROI) _(N) .
 12. The method of claim 1, wherein said ROI is identified in said scene using any of: pixel classification, object identification, facial recognition, pattern recognition, color, texture, spatial features, depth-based segmentation, spectral feature-based segmentation, motion detection, and a user selection.
 13. A system for adaptive depth map reconstruction, the system comprising: a mask identifying at least one region of interest (ROI) in a scene; a range-sensing device; a depth map reconstruction module for generating a depth map of said scene; and a processor executing machine readable program instructions for spatially changing, according to said mask, an operative resolution of a depth map reconstruction module used to reconstruct a depth map of said scene, and reconstructing, by said depth map reconstruction module, a depth map of said scene, said reconstructed depth map being such that a spatial resolution R_(ROI) in said ROI is higher relative to a spatial resolution R_(other) of scene locations not associated with said ROI, where: R_(other)<R_(ROI).
 14. The system of claim 13, wherein the range-sensing device is an active stereo device comprising an illuminator and an imaging device, wherein the illuminator projects an undistorted pattern with known spatio-temporal attributes onto the scene, wherein the imaging device detects a reflection of said pattern of light off surfaces in said scene, and wherein generating said depth map comprises: establishing correspondences between spatial attributes in said detected pattern and spatial attributes of said projected undistorted pattern; determining offsets between said established correspondences; triangulating said offsets to obtain depth values; and aggregating said depth values to reconstruct said depth map of said scene.
 15. The system of claim 14, wherein changing the operative resolution of a depth map reconstruction module comprises changing the density of established correspondences so that it is higher at locations corresponding to the ROI as identified by said mask.
 16. The system of claim 15, changing the density of established correspondences is performed by at least one of: changing a spatio-temporal attribute of the pattern of source light projected onto said scene by the illuminator, changing a density of correspondences established by the depth map reconstruction module, and a combination thereof.
 17. The system of claim 13, wherein said range-sensing device is a multi-camera array comprising at least two imaging devices with overlapping fields of view such that salient features in said scene are simultaneously imaged by at least two devices in the array and wherein generating said depth map comprises: establishing correspondences between said salient features; determining offsets between said established correspondences; triangulating said offsets to obtain depth values; and using said depth values to reconstruction said depth map of said scene.
 18. The system of claim 17, wherein changing the operative resolution of a depth map reconstruction module comprises changing the density of established correspondences so that it is higher at locations corresponding to the ROI as identified by said mask.
 19. The system of claim 18, wherein the density of established correspondences is changed by adjusting a selectivity threshold that determines the degree of saliency required for a feature to be considered salient.
 20. The system of claim 13, wherein said range-sensing device is a time-of-flight system and wherein changing an operative resolution of a depth map reconstruction module comprises changing the density of point-by-point range measurements by one of: increasing the density of point-by-point range measurements at locations associated with the ROI, decreasing the density of point-by-point range measurements at locations associated with the ROI, and a combination thereof.
 21. The system of claim 20, wherein the range-sensing system is a scanning point-by-point device and wherein the density of point-by-point range measurements is controlled by adjusting the scanning speed.
 22. The system of claim 20, wherein the range-sensing system is a scannerless array of point-by-point devices and wherein the density of point-by-point range measurements is controlled by at least one of: selectively de-activating point-by-point devices for array locations not associated with the ROI, selectively downsampling the point-by-point range measurements for array locations not associated with the ROI, and a combination thereof.
 23. The system of claim 13, wherein said mask identifies a total of N ROIs, and wherein R_(other)<R_(ROI) ₁ ≦R_(ROI) ₂ ≦ . . . ≦R_(ROI) _(N) .
 24. The system of claim 13, wherein said ROI is identified in said scene using any of: pixel classification, object identification, facial recognition, pattern recognition, color, texture, spatial features, depth-based segmentation, spectral feature-based segmentation, motion detection, and a user selection.
 25. The system of claim 13, wherein said mask is updated in real-time in response to any of: a location of said ROI changing in said scene, a new ROI being identified in said scene, a ROI no longer being considered an ROI, and a user input. 